package com.chw.mapp;

import com.chw.model.Imgs;
import com.chw.model.Shop;
import com.chw.model.ShopValues;
import com.chw.model.vo.ImgsVo;
import com.chw.model.vo.ShopVo;
import com.chw.model.vo.shopFanHUi;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.relational.core.sql.In;

import java.util.List;

@Mapper
public interface ShopMappr {
    void insertShop(Shop shop);

    void addShopValues(List<ShopValues> list);

    void addShopImg(List<Imgs> listImg);

    void upImgs(List<Imgs> listImg, Integer pid,Integer id);

    Long count(ShopVo shop);

    List<shopFanHUi> queryShop(ShopVo shop);

    void delShop(Integer id);

    void upShop(Shop shop);

    List<ImgsVo> queryImgs(Integer id);

    void delScope(Integer pid);

    void updateValuesByPid(List<ShopValues> shopValues);
}
